#ifndef GROUND_H
#define GROUND_H
#include <vector>
using namespace std;

class Ground
{
public:
    Ground(int width,int height);
    Ground();
    int getHeight(int x);
    void setHeight(int x,int height);
    void setHeightDelta(int x,int delta);
    void generateMap();
private:
    vector<int> heightmap;
    int world_height;
    int world_width;
};

#endif
